package net.llz.component;

import net.llz.exception.BizException;
import net.llz.vo.PayInfoVO;

public interface PayStrategy {

    /**
     * 下单
     * @return
     */
    String unifiedorder(PayInfoVO payInfoVO) throws BizException;


    /**
     *  退款
     * @param payInfoVO
     * @return
     */
    default String refund(PayInfoVO payInfoVO){return "";}


    /**
     * 查询支付是否成功
     * @param payInfoVO
     * @return
     */
    default String queryPaySuccess(PayInfoVO payInfoVO){return "";}
}
